import service from "../request/qingqiu";

// 手机号登陆接口
export function loginByPhoneNumber(data) {
    return service({
        method: 'get',
        url: `/login/cellphone?phone=${data.phone}&password=${data.password}`
    })
}

// 获取登陆的用户信息详情
export function getLoginUserInfo(data) {
    return service({
        method: 'get',
        url: `/user/detail?uid=${data}`
    })
}